﻿using System;

namespace GetAStringDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            uint x = 40;
            ushort y = 50;

            Currency currency = new Currency(x, y);
            Action action = new Action(currency.Totring);
            action.Invoke();
            action();

            Func<string> func = new Func<string>(x.ToString);
            Console.WriteLine($"String in {func()}");

            var balence = new Currency(10, 20);



        }
    }
}
